﻿#ifndef UI_SERIALSET_H
#define UI_SERIALSET_H

#include <QDialog>
#include "modbusRtu.h"

namespace Ui {
class Ui_SerialSet;
}

class Ui_SerialSet : public QDialog
{
    Q_OBJECT

public:
    explicit Ui_SerialSet(QStringList portList, int idx, int baudIdx, QWidget *parent = nullptr);
    ~Ui_SerialSet();

signals:
    void setSerialInfo(ModbusRtuParam_t serialInfo);

private:
    Ui::Ui_SerialSet *ui;
};

#endif // UI_SERIALSET_H
